/*
 * Created by SharpDevelop.
 * User: Icecream
 * Date: 8/7/2008
 * Time: 12:00 AM
 * 
 */
using System;
using System.Runtime.Serialization;

namespace org.synthful.Net
{
    /// <summary>
    /// Offered under Apache Public Licence 2.0
    /// synthful.org
    /// blessedgeek [@] synthful.org
    /// 
    /// Duplicate Uri class as Url class. Allow use of traditional term "URL" so as to
    /// ignore the pointless movement to change the term "URL" into "URI".
	/// </summary>
	public class Url : Uri
	{
		public Url(String urlStr) : base (urlStr){}
		public Url (SerializationInfo info, StreamingContext ctx) : base(info, ctx){}
		//public Url (String urlStr, Boolean dontesc) : base (urlStr, dontesc){}
		public Url (String urlStr, UriKind ukind) : base(urlStr, ukind){}
		public Url (Url url, String relUrlStr) : base (url, relUrlStr) {}
		public Url (Url url, Url relUrl) : base (url, relUrl) {}
    //public Url (Uri url, String relUrl, Boolean ukind) : base (url, relUrl, ukind) {}

    public Url(Uri uri, Uri relUri) : base(uri, relUri) { }
    public Url(Uri uri) : base(uri, "") { }

	}

}
